.row
  .col-md-12
    .panel.panel-default
      .panel-heading
        | Edit Author
      .panel-body
        = simple_form_for(@book, html: { class: 'form-vertical' }, wrapper: :vertical_form) do |o|
          .col-md-12 style="display:none"
            = o.input :author_id
          .col-md-12
            = o.input :name, label: 'Book Title'
            = o.input :isbn, label: 'ISBN'
            = o.button :submit, "Submit"
            = link_to "Cancel", author_path(:id => @book.author_id), {:class=>"btn btn-default"}